package com.vincent.kdp.bean;

import java.io.Serializable;

/**
 * Created by pg on 2017/1/20.
 */

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class BusSalesRecord implements Serializable {

    private Integer id;

    /**
     * 销售员
     */
    private String seller;

    /*
    * 销售员id
    * */
    private Integer employeeId;

    /**
     * 商品码
     */
    private String goodBarCode;

    /**
     * 客户名称
     */
    private Integer memberId;

    /**
     * 组织编码
     */
    private String department;

    /**
     * 消费时间
     */
    private Date addtime;

    //金额
    private BigDecimal money;

    //积分抵用金额
    private BigDecimal pointsMoney;
    /**
     * 消费单号
     */
    private String consumeNum;

    //手机号
    private String phone;

    //会员姓名
    private String memberName;


    private static final long serialVersionUID = 1L;

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public BigDecimal getPointsMoney() {
        return pointsMoney;
    }

    public void setPointsMoney(BigDecimal pointsMoney) {
        this.pointsMoney = pointsMoney;
    }

    public String getConsumeNum() {
        return consumeNum;
    }

    public void setConsumeNum(String consumeNum) {
        this.consumeNum = consumeNum;
    }

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public BusSalesRecord setId(Integer id) {
        this.id = id;
        return this;
    }

    /**
     * 获取销售员
     *
     * @return seller - 销售员
     */
    public String getSeller() {
        return seller;
    }

    /**
     * 设置销售员
     *
     * @param seller 销售员
     */
    public BusSalesRecord setSeller(String seller) {
        this.seller = seller;
        return this;
    }

    /**
     * 获取商品码
     *
     * @return good_bar_code - 商品码
     */
    public String getGoodBarCode() {
        return goodBarCode;
    }

    /**
     * 设置商品码
     *
     * @param goodBarCode 商品码
     */
    public BusSalesRecord setGoodBarCode(String goodBarCode) {
        this.goodBarCode = goodBarCode;
        return this;
    }

    /**
     * 获取客户名称
     *
     * @return memberId - 客户名称
     */
    public Integer getMemberId() {
        return memberId;
    }

    /**
     * 设置客户名称
     *
     * @param memberId 客户名称
     */
    public BusSalesRecord setMemberId(Integer memberId) {
        this.memberId = memberId;
        return this;
    }

    /**
     * 获取组织编码
     *
     * @return department - 组织编码
     */
    public String getDepartment() {
        return department;
    }

    /**
     * 设置组织编码
     *
     * @param department 组织编码
     */
    public BusSalesRecord setDepartment(String department) {
        this.department = department;
        return this;
    }

    /**
     * 获取消费时间
     *
     * @return addtime - 消费时间
     */
    public Date getAddtime() {
        return addtime;
    }

    /**
     * 设置消费时间
     *
     * @param addtime 消费时间
     */
    public BusSalesRecord setAddtime(Date addtime) {
        this.addtime = addtime;
        return this;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public BusSalesRecord setMoney(BigDecimal money) {
        this.money = money;
        return this;
    }
}